import React from 'react';
import { Button, DatePicker, Space, ConfigProvider, Divider } from 'antd';
// import './App.less';
import RouterDemo from "./components/router-demo";

const { RangePicker } = DatePicker;

const App = () => (

  <ConfigProvider theme={{ token: { colorPrimary: '#00b96b' } }}>
    <Divider style={{ borderColor: '#5A54F9' }}>Solid</Divider>
    <Button type="primary">Button</Button>
    <div className="App">
      <Button type="primary">Button</Button>

      <Space direction="vertical" size={12}>
        <Button type="primary">Button</Button>
        <RangePicker />
      </Space>

      <Divider style={{ borderColor: '#7cb305' }}>Solid</Divider>
      <RouterDemo />
      <Divider style={{ borderColor: '#7cb305' }}>Solid</Divider>
    </div>
  </ConfigProvider>
);


export default App;
